package com.xnyzc.lhy.mis.entity.message;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 后台管理 应用内消息表
*
* @author wangshuo
* @since 2019-10-20
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysMessageInapp对象", description="后台管理 应用内消息表")
public class OaSysMessageInapp implements Serializable {

private static final long serialVersionUID = 1L;

    @TableId(value="inapp_id", type = IdType.INPUT)
    private Long inappId;

    @ApiModelProperty(value = "操作人ID")
    private Long createUser;

    @ApiModelProperty(value = "1.系统 2.活动")
    private Integer messageType;

    @ApiModelProperty(value = "消息标题")
    private String messageTitle;

    @ApiModelProperty(value = "消息配图路径")
    private String messageGraphPath;

    @ApiModelProperty(value = "消息正文")
    private String messageBody;

    @ApiModelProperty(value = "生效时间")
    private Date effectTime;

    @ApiModelProperty(value = "失效时间")
    private Date failureTime;

    @ApiModelProperty(value = "消息是否发送 0 未发送 ， 1，已发送")
    private Integer whetherSend;

    @ApiModelProperty(value = "消息状态 0未生效 1生效中 2已失效")
    private Integer messageStatus;

    @ApiModelProperty(value = "司机消息查看数量")
    private Integer readNumber;

    private Date createTime;

    private Date updateTime;

    @ApiModelProperty(value = "消息是否删除(0 未删除 ，1 已删除)")
    private String deleted;

    @ApiModelProperty(value = "推展字段1")
    private String expand1;

    @ApiModelProperty(value = "推展字段2")
    private String expand2;

    @ApiModelProperty(value = "推展字段3")
    private String expand3;

    @ApiModelProperty(value = "h5跳转链接")
    private String h5JumpUrl;

    @ApiModelProperty(value = "司机清单oss表的id")
    private Long driverListId;

    @ApiModelProperty(value = "h5跳转链接")
    @TableField(exist = false)
    private boolean isAllDriver;

    public static final String INAPP_ID = "inapp_id";

    public static final String CREATE_USER = "create_user";

    public static final String MESSAGE_TYPE = "message_type";

    public static final String MESSAGE_TITLE = "message_title";

    public static final String MESSAGE_GRAPH_PATH = "message_graph_path";

    public static final String MESSAGE_BODY = "message_body";

    public static final String EFFECT_TIME = "effect_time";

    public static final String FAILURE_TIME = "failure_time";

    public static final String WHETHER_SEND = "whether_send";

    public static final String MESSAGE_STATUS = "message_status";

    public static final String READ_NUMBER = "read_number";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String DELETE = "deleted";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String H5JUMPURL = "h5_jump_url";

    public static final String DRIVERlISTID = "driver_list_id";

}
